document.querySelector(".doc-readers").outerHTML = '<%= j(render("readers", doc: @doc, readers: @readers, state: "open")) %>';